package com.kn.sys.dao;


import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author zhoudf
 * @create 2021-03-09 13:54
 */
public interface RoleDao {
    @Select("SELECT roleid FROM sys_user_role WHERE userid=#{userid}")
    List<Long> getRoleIdByUserId(@Param("userid") Long userid);
}
